<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>对象类型数组</title>
    <link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/styles/default.min.css'>
    <script src='//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/highlight.min.js'></script>
</head>
<body>
    <pre>
        <code>
        /**
          * 数组是特殊的对象数据类型
          * 
        */

        let arr = [1,2,3,4,5,6,7,8]

        console.log(arr.length);
        arr[0] // 1

        console.log(arr[0]);
        </code>
    </pre>
    <script>hljs.highlightAll()</script>
    <script>
        /**
         * 数组是特殊的对象数据类型
         * 
        */

        let arr = [1,2,3,4,5,6,7,8]

        console.log(arr.length);
        arr[0] // 1

        console.log(arr[0]);
    </script>
</body>
</html>